package com.dingtao.common.bean;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class OrderDetail {

    @JSONField(name = "publishOrderId")
    private String publishOrderId;
    @JSONField(name = "nickName")
    private String nickName;
    @JSONField(name = "imageUrl")
    private String imageUrl;
    @JSONField(name = "serviceLevel")
    private String serviceLevel;
    @JSONField(name = "price")
    private String price;
    @JSONField(name = "unit")
    private String unit;
    @JSONField(name = "distance")
    private String distance;
    @JSONField(name = "otherDesc")
    private String otherDesc;
    @JSONField(name = "imgs")
    private List<String> imgs;
    @JSONField(name = "showColor")
    private String showColor;
    @JSONField(name = "area")
    private String area;
    @JSONField(name = "time")
    private List<TimeDTO> time;
    @JSONField(name = "gender")
    private String gender;
    @JSONField(name = "category")
    private String category;
    @JSONField(name = "mid")
    private String mid;
    @JSONField(name = "ageLimit")
    private String ageLimit;
    @JSONField(name = "categoryId")
    private String categoryId;
    @JSONField(name = "collect")
    private boolean collect;
    @JSONField(name = "collectButton")
    private boolean collectButton;
    @JSONField(name = "visitCount")
    private int visitCount;

    public String getPublishOrderId() {
        return publishOrderId;
    }

    public void setPublishOrderId(String publishOrderId) {
        this.publishOrderId = publishOrderId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getServiceLevel() {
        return serviceLevel;
    }

    public void setServiceLevel(String serviceLevel) {
        this.serviceLevel = serviceLevel;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getDistance() {
        return distance;
    }

    public void setDistance(String distance) {
        this.distance = distance;
    }

    public String getOtherDesc() {
        return otherDesc;
    }

    public void setOtherDesc(String otherDesc) {
        this.otherDesc = otherDesc;
    }

    public List<String> getImgs() {
        return imgs;
    }

    public void setImgs(List<String> imgs) {
        this.imgs = imgs;
    }

    public String getShowColor() {
        return showColor;
    }

    public void setShowColor(String showColor) {
        this.showColor = showColor;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public List<TimeDTO> getTime() {
        return time;
    }

    public void setTime(List<TimeDTO> time) {
        this.time = time;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getMid() {
        return mid;
    }

    public void setMid(String mid) {
        this.mid = mid;
    }

    public String getAgeLimit() {
        return ageLimit;
    }

    public void setAgeLimit(String ageLimit) {
        this.ageLimit = ageLimit;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public boolean isCollect() {
        return collect;
    }

    public void setCollect(boolean collect) {
        this.collect = collect;
    }

    public boolean isCollectButton() {
        return collectButton;
    }

    public void setCollectButton(boolean collectButton) {
        this.collectButton = collectButton;
    }

    public int getVisitCount() {
        return visitCount;
    }

    public void setVisitCount(int visitCount) {
        this.visitCount = visitCount;
    }

    @NoArgsConstructor
    @Data
    public static class TimeDTO {
        @JSONField(name = "week")
        private String week;
        @JSONField(name = "time")
        private String time;
        @JSONField(name = "tips")
        private String tips;
        @JSONField(name = "realDate")
        private String realDate;
        @JSONField(name = "max")
        private int max;
        @JSONField(name = "status")
        private int status;

        public String getWeek() {
            return week;
        }

        public void setWeek(String week) {
            this.week = week;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public String getTips() {
            return tips;
        }

        public void setTips(String tips) {
            this.tips = tips;
        }

        public String getRealDate() {
            return realDate;
        }

        public void setRealDate(String realDate) {
            this.realDate = realDate;
        }

        public int getMax() {
            return max;
        }

        public void setMax(int max) {
            this.max = max;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }
    }
}
